package com.njbdqn.shoppingcart.entity;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

public class Cart {
	//购物车编号
	private long cartno;
	//购物车日期
	private Date cartdate;
	private Userinfos user;
	private Map<Shops,Integer> shops = new HashMap<Shops,Integer>();
	
	public long getCartno() {
		return cartno;
	}
	public void setCartno(long cartno) {
		this.cartno = cartno;
	}
	public Date getCartdate() {
		return cartdate;
	}
	public void setCartdate(Date cartdate) {
		this.cartdate = cartdate;
	}
	public Userinfos getUser() {
		return user;
	}
	public void setUser(Userinfos user) {
		this.user = user;
	}
	public Map<Shops, Integer> getShops() {
		return shops;
	}
	public void setShops(Map<Shops, Integer> shops) {
		this.shops = shops;
	}
}
